package winOrDie.Net.P2P;

import java.util.EventObject;

/**
 * This public class is provides {@link WoD_Scribe_Channel} event
 *
 */
public class WoD_Scribe_Channel_Event extends EventObject {

	public static final int MESSAGE_RECEIVED = 0;
	public static final int I_AM_ROOT = 1;
	public static final int NEW_NODE = 2;
	public static final int NODE_DOWN = 3;
	public static final int NEW_ROOT = 4;
	public static final int SCRIBE_CHANNEL_ERROR = 99;
	
	private int event_Type = -1;
	private Object data = null;
	
	public int getEvent_Type() {
		return event_Type;
	}

	public void setEvent_Type(int eventType) {
		event_Type = eventType;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}

	public WoD_Scribe_Channel_Event(Object source) 
	{
		super(source);
	}
	
	
	
}
